package com.search.file;

import java.io.File;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/8/4 10:17
 * @since JDK 1.8
 */
public class FileUtils {


    public static File getFile(String directoryName){
        String str=System.getProperty("user.dir");
        File file=new File(str+File.separator+directoryName);
        if(!file.exists()&&!file.isDirectory()){
            file.mkdirs();
        }
        return file;
    }




















}
